Package-level declarations
Classes to collect payments.
Types
Information about the card used in a purchase.
Details about a successful card payment.
Details about a successful cash payment.
Represents a currency. Currencies are identified by their ISO 4217 currency codes.
Actions possible when an authorized payment is neither canceled nor completed in time.
Holder class for external payment data.
A representation of a specific amount of money.
A queue of offline payments taken on this device that have not yet been uploaded to the Square server.
Error conditions that arise during payments. Like other categories of error codes, these are separated between "usage errors" which a careful developer could and should have avoided, and regular errors which cannot be prevented during normal operation. For example, NOT_AUTHORIZED is not a usage error, because user might be force-logged out during payment process and server will then return error 401. However, developers should be checking that Mobile Payments SDK has been authorized and, if not, disabling the controls that lead to a call to PaymentManager.startPaymentActivity; TIMEOUT is a regular, non-usage error because network conditions are unpredictable and might be severed in the middle of a transaction; even with the best of developers' care, timeouts sometimes just happen.
Representation of a payment process available immediately from PaymentManager.startPaymentActivity. Provides a way to interact with an ongoing payment, e.g. cancel it or select additionalPaymentMethods. Additionally, one can get idempotencyKey of the payment that was just created.
Processes payments for Mobile Payments SDK.
Parameters to describe a single payment made using Mobile Payments SDK. Use Builder to create and configure payment parameters, for example:
Processing fees and fee adjustments assessed by Square on this payment.
Read-only settings that provide payment settings based on the current authenticated seller.
PaymentParameters "processingMode" parameter will determine whether the current payment needs to be processed online or offline.
Parameters for configuring the payment prompt UI. Includes:
Details about a Square Account Payment.